package com.labor_management_system.Service;

import com.labor_management_system.Entity.Team;
import com.baomidou.mybatisplus.extension.service.IService;
import com.labor_management_system.Utils.Pair;

import java.util.List;

/**
* @author deathwing475
* @description 针对表【team】的数据库操作Service
* @createDate 2024-02-27 09:55:00
*/
public interface TeamService extends IService<Team> {
    List<String> getAllTeamID();
    List<Team> getAllTeam();
    List<Team> getTeamByName(String teamName);
    List<Pair<String,String>>getTeamIDAndName();
    List<Team> selectAllTeam();

    Team slectTeamById(String teamId);

    boolean insertTeam(Team team);
    boolean deleteByID(String teamID);
}
